HQRentalsPlugin\HQRentalsModels\HQRentalsModelsVehicleClass D

Total Complexity 132
Dependencies 16
Dependents 6
Total lines 829
Lines of code 608
Logical lines of code 310
Comment lines 0
Methods 59
Properties 51

Methods 59

Method Rating Maintainability Complexity Lines of code
setVehicleClassFromApi()
B
34 21 87
create()
B
39 15 63
setFromPost()
S
48 6 31
saveOrUpdate()
S
51 6 25
__construct()
S
42 2 53
calculateRatesWithTaxes()
S
54 4 19
getTranslatableCustomField()
S
60 4 13
getLabelForWebsite()
S
64 4 10
getShortDescriptionForWebsite()
S
64 4 10
getDescriptionForWebsite()
S
64 4 10
setFromDB()
S
54 2 20
getLabel()
S
65 3 10
getCustomDataProperties()
S
63 3 10
parseDataToSaveOnDB()
S
57 1 17
rates()
S
67 2 8
getPriceIntervals()
S
67 2 8
images()
S
67 2 8
getDescription()
S
69 2 7
getShortDescription()
S
69 2 7
getUsersPriceIntervalOption()
S
65 2 10
getPriceIntervalsForWebsite()
S
65 2 10
getCheapestPriceIntervalForWebsite()
S
71 2 6
transformRate()
S
60 1 12
getMetaKeysFromLabel()
S
64 1 11
getMetaKeysFromShortDescription()
S
64 1 11
getMetaKeysFromDescription()
S
64 1 11
all()
S
76 1 4
getAllMetaTags()
S
64 1 10
rate()
S
80 1 3
getImage()
S
73 1 5
features()
S
76 1 4
getLabels()
S
82 1 3
getDescriptions()
S
82 1 3
getCustomFields()
S
82 1 3
getCustomField()
S
78 1 3
getCustomFieldMetaPrefix()
S
82 1 3
getVehicleClassIdMeta()
S
82 1 3
getCheapestPriceInterval()
S
71 1 6
getOrderMetaKey()
S
82 1 3
getBrandIdMetaKey()
S
82 1 3
getFeatureImage()
S
78 1 3
getFeaturesPublicInterface()
S
76 1 4
getRatePublicInterface()
S
76 1 4
getBrand()
S
76 1 4
getDataToCreateTable()
S
72 1 6
getDistanceLimit()
S
82 1 3
getDistanceLimitDay()
S
82 1 3
getDistanceLimitePerWeek()
S
82 1 3
getDistanceLimitPerMonth()
S
82 1 3
getDistanceCharge()
S
74 1 5
getUUID()
S
82 1 3
getTableName()
S
82 1 3
getCustomFieldsAsArray()
S
81 1 3
getId()
S
82 1 3
getPublicImage()
S
82 1 3
getVehicleFeatures()
S
82 1 3
getActiveRate()
S
82 1 3
getImageForWebsite()
S
82 1 3
getCustomFieldForWebsite()
S
81 1 3